Which SQL command to get all details about a table in Oracle?
Which SQL command to get all details about a table in Oracle?
26217-Jul-2023
Updated on 18-Jul-2023
Home / DeveloperSection / Forums / Which SQL command to get all details about a table in Oracle?
Which SQL command to get all details about a table in Oracle?
Aryan Kumar
18-Jul-2023To get all details about a table in Oracle, you can use the
DESCRIBE
command. TheDESCRIBE
command will return a list of all the columns in the table, as well as their data types, sizes, and other properties.For example, to get all details about the table
employees
, you would use the following command:SQL
This would return a list of all the columns in the
employees
table, as well as their data types, sizes, and other properties.Here is an example of the output of the
DESCRIBE
command:SQL
The
DESCRIBE
command is a powerful tool that you can use to get information about tables in Oracle. By using theDESCRIBE
command, you can learn about the structure of a table and the data that it contains.